package nina.yiyou.performance.s11collect.compute

import nina.yiyou.performance.s11collect.compute.score.EvalScoreCalculator
import nina.yiyou.performance.s11collect.input.CollectFilledReader

class CollectComputeMapMaker {

  CollectComputeMapMaker(List<CollectFilledReader.Filler> fillerList) {
    _fillerList = fillerList
  }

  Map<String, Map> make() {
    List<Map> scoreResult = new EvalScoreCalculator(_fillerList).calc()

    //FIXME: TEMP
    return scoreResult.collectEntries { [it['工号'], it] }
  }

  private final List<CollectFilledReader.Filler> _fillerList
}
